package io.gitee.crud.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class DemoUserQueryDTO {

    @NotNull(message = "开始时间不能为空")
    private LocalDateTime createStart;

    @NotNull(message = "结束时间不能为空")
    private LocalDateTime createEnd;
}
